package com.cqupt.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户和单词的关联表
 *
 * @TableName user_word
 */
@TableName(value = "user_word")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserWord implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private Integer userId;

    /**
     *
     */
    private Integer wordId;

    /**
     *
     */
    private Integer bookId;


    private String date;

//    /**
//     * 是否已经学习 1：已经学习
//     */
//    private Integer learn;
//
//    /**
//     * 不熟悉 1：不熟悉
//     */
//    private Integer unknown;


//    private Integer unknown;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}